package cn.exrick.xboot.modules.transport.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author gj
 */
@Data
@Accessors(chain = true)
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "b_order_car_node_info")
@TableName("b_order_car_node_info")
@ApiModel(value = "订单-车辆信息")
public class OrderCarNodeInfo extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "Order ID")
    private Long orderId;

    @ApiModelProperty(value = "Order Car ID")
    private Long orderCarId;

    @ApiModelProperty(value = "Order Car Name")
    private String orderCarName;

    @ApiModelProperty(value = "Order Car Number")
    private String orderCarNumber;

    @ApiModelProperty(value = "Warehouse ID")
    private Long warehouseId;

    @ApiModelProperty(value = "Warehouse Name")
    private String warehouseName;

    @ApiModelProperty(value = "Operator ID")
    private Long operatorId;

    @ApiModelProperty(value = "Operator Name")
    private String operatorName;

}